package com.jingdun.sport.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 活动室完成训练表
 * </p>
 *
 * @author powell
 * @since 2020-07-11
 */
public class RoomUserSportRecordPerDay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 活动室id
     */
    private Long roomId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 完成结果
     */
    private String result;

    /**
     * 创建日期
     */
    private LocalDateTime gmtCreate;

    /**
     * 训练视频路径
     */
    private String videoUrl;

    private Integer count;

    private Integer type;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "RoomUserSportRecordPerDay{" +
                "id=" + id +
                ", roomId=" + roomId +
                ", userId=" + userId +
                ", result=" + result +
                ", gmtCreate=" + gmtCreate +
                ", videoUrl=" + videoUrl +
                ", count=" + count +
                ", type=" + type +
                "}";
    }
}
